package cn.tedu.carehome.foundation.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 老人健康信息列表项VO类(详情)
 *
 * @author 程辉
 */
@Data
public class OlderListItemVO implements Serializable {
    /**
     * 老人id
     */
    private Long id;
    /**
     * 老人名称
     */
    private String name;
    /**
     * 老人手机号
     */
    private String phoneNumber;
    /**
     * 老人性别
     */
    private String gender;
    /**
     * 老人年龄
     */
    private Integer age;
    /**
     * 老人生日
     */
    @JsonFormat(pattern = "yyyy年MM月dd日", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime birth;
    /**
     * 用户id
     */
    private Long userId;
    /**
     * 食品套餐id
     */
    private Long foodPackId;
    /**
     * 老人身高
     */
    private Integer height;
    /**
     * 老人体重
     */
    private Integer weight;
    /**
     * 老人血压
     */
    private BigDecimal bp;
    /**
     * 老人血糖
     */
    private BigDecimal bg;
    /**
     * 老人血脂
     */
    private BigDecimal bl;


    private String idnumber;
    private String maritalstatus;
    private String nation;
    private String telphone;
    private String birthdatetime;
    private String localhousehold;
    private String customercategory;
    private String livingcondition;
    private String houseaddress;
    private String permanentresidenceaddress;
    private String politicsstatus;
    private String helpernumber;
    private String monthlyincome;
    private String medicalsecurity;
    private String socialsecuritycard;
    private String bloodtype;
    private String culturestandard;
    private String major;
    private String jobtitle;
    private String characterpsychology;
    private String dietcharacteristics;
    private String strongpoint;
    private String holiday;
    private String contractname;
    private String contractdate;
    private String contractpeople;
    private String contractdowndate;
    private String imagurl;
    private String monryfrom;
    private String oldcompany;
    private String contactname;
    private String bednumber;
    private String checkintime;
}
